<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><%= app_localized_message(:label, :system_name) %></title>
<% csscomp('ext-2.1/ext-all, app/application') -%>
<%= @content_for_for_stylesheet -%>
<%= csscomp_write() %>
</head>
<body>

<div class="container">
    <div class="mainpage_head">
        <table border="0" cellpadding="0" cellspacing="0" style="width:100%;">
            <tr>
                <td style="width:100%;"><%= link_to(image_tag("/images/logo.gif"), :controller=>:project, :action=>:index ) %></td>
                <td rowspan="2" style="padding-right:10px;">&nbsp;</td>
            </tr>
            <tr>
                <td colspan="2"><%= image_tag("/images/head_border1.gif", :width=>"100%", :height=>"5px") %></td>
            </tr>
        </table>
    </div>
    <div class="mainpage_content">
        <table border="0" cellpadding="0" cellspacing="10" style="width:100%;height:100%;padding-left:10px;padding-right:10px;">
            <tr>
                <td class="mainpage_pagecontent" valign="top">
                    <p style="color: green"><%= flash[:notice] %></p>

<%= yield %>

                </td>
            </tr>
        </table>
    </div>
    <div class="mainpage_foot">&nbsp;</div>
</div>

<script language="javascript" src="<%= url_for(:controller=>"localize", :action=>"load_message") %>"></script>
<script language="javascript" src="<%= url_for(:controller=>"localize", :action=>"load_functions") %>"></script>
<%- jscomp('ext-2.1/ext-base, ext-2.1/ext-all-debug, ext-2.1/ext-lang-ja, app/ext/columnLock, app/ext/ext-i3-extension, app/common/app, application, app/layout/mainpage, app/common/dlg_modal, app/common/dlg_datepick') -%>
<%= @content_for_for_javascript %>
<%= jscomp_write() %>

<script language="javascript">
<%= @content_for_for_ext_scripts %>
</script>

</body>
</html>
